
$(function(){
	//showQRCode();
	initPage();
});

function initPage(){
	
	var forbidden = $('#forbidden').val();
	if(forbidden){
		lh.alert('您被进入专场,请联系管理员解除限制');
		return;
	}
	var status = $('#status').val();
	if(status == 'bail_lack'){
		lh.alert('您的账户可用余额低于该专场要求的保证金金额，请充值后再进入该拍场');
		setTimeout(function(){
			var auctionId = $('#auctionId').val();
			var r = $('#r').val();
			var url = '/inst';
			if(r)url += '?r='+r;
			window.location.href = url;
			return;
		},1000);
	}
}

function f(opt){
	if(opt == 'hide'){
		return;
	}
}
